$OpenBSD: patch-intern_guardedalloc_intern_mallocn_guarded_impl_c,v 1.4 2015/04/01 21:26:40 pascal Exp $
--- intern/guardedalloc/intern/mallocn_guarded_impl.c.orig	Wed Mar 25 12:01:16 2015
+++ intern/guardedalloc/intern/mallocn_guarded_impl.c	Wed Apr  1 11:56:33 2015
@@ -687,6 +687,9 @@ static int compare_len(const void *p1, const void *p2)
 
 void MEM_guarded_printmemlist_stats(void)
 {
+#ifdef __OpenBSD__
+	printf("MEM_guarded_printmemlist_stats not implemented on OpenBSD.");
+#else
 	MemHead *membl;
 	MemPrintBlock *pb, *printblock;
 	unsigned int totpb, a, b;
@@ -759,6 +762,7 @@ void MEM_guarded_printmemlist_stats(void)
 #ifdef HAVE_MALLOC_STATS
 	printf("System Statistics:\n");
 	malloc_stats();
+#endif
 #endif
 }
 
